﻿// (c) Copyright 2013 Mike Riedel.
// This source is subject to the Microsoft Public License (Ms-PL).
// All other rights reserved.

namespace System.Diagnostics
{
   /// <summary>
   /// Placeholder for the BooleanSwitch in the full .NET framework.
   /// This has no functionality in Silverlight.
   /// </summary>
   public class BooleanSwitch
   {
      /// <summary>
      /// Display name.
      /// </summary>
      public string DisplayName { get; set; }

      /// <summary>
      /// Description.
      /// </summary>
      public string Description { get; set; }

      /// <summary>
      /// Determines whether switch is enabled.
      /// </summary>
      public bool Enabled { get; set; }

      /// <summary>
      /// Creates instance using specified parameters.
      /// </summary>
      public BooleanSwitch(string displayName, string description)
      {
         DisplayName = displayName;
         Description = description;
      }
   }
}
